<template>
  <chart-bar v-bind="$props" />
</template>

<script>
import { isEmpty } from "lodash";
import ChartBar from "./echartBar.vue";

export default {
  name: "EchartPie",
  components: { ChartBar },
  props: ChartBar.props,
  computed: {
    // 针对饼图数据是不是无效的判断
    isSeriesEmpty() {
      return isEmpty(this.seriesData);
    },
  },
};
</script>
